package com.bwie.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    @NotNull(message = "用户名称不能为空")
    private String username;
    @NotNull(message = "团购ID不能为空")
    private String tgid;
}
